HipMTLVertexArray

Undocumented in source.

Constructors

this
this(MTLDevice device, HipMTLRenderer mtlRenderer)
Undocumented in source.

Members

Functions

bind
void bind(IHipVertexBufferImpl vbo, IHipIndexBufferImpl ebo)
Undocumented in source. Be warned that the author may not have intended to support it.
createInputLayout
void createInputLayout(Shader s)
Undocumented in source. Be warned that the author may not have intended to support it.
setAttributeInfo
void setAttributeInfo(HipVertexAttributeInfo info, uint stride)

HipMTLRenderer will ALWAYS assume that: Buffer 0 is for uniforms Buffer 1 is for vertex attributes

unbind
void unbind(IHipVertexBufferImpl vbo, IHipIndexBufferImpl ebo)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

descriptor
MTLVertexDescriptor descriptor;
Undocumented in source.
device
MTLDevice device;
Undocumented in source.
iBuffer
HipMTLIndexBuffer iBuffer;
Undocumented in source.
mtlRenderer
HipMTLRenderer mtlRenderer;
Undocumented in source.
vBuffer
HipMTLVertexBuffer vBuffer;
Undocumented in source.

Meta